@model IEnumerable<Vms.Web.Models.SCREEN_STATUS>

@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create", new { }, new { @class = "btn" })
</p>
<table class="table table-bordered table-striped">
    <tr>
        <th></th>
        <th>
            Connection
        </th>
        <th>
            OnOff
        </th>
        <th>
            BrightnessLevel
        </th>
        <th>
            BrightnessAdjustMode
        </th>
        <th>
            CurrentTime
        </th>
        <th>
            CurrentProgram_Id
        </th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.Id }) |
            @Html.ActionLink("Details", "Details", new { id=item.Id }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.Id })
        </td>
        <td>
			@item.Connection
        </td>
        <td>
			@item.OnOff
        </td>
        <td>
			@item.BrightnessLevel
        </td>
        <td>
			@item.BrightnessAdjustMode
        </td>
        <td>
			@item.CurrentTime
        </td>
        <td>
			@item.CurrentProgram_Id
        </td>
    </tr>
}

</table>


